 <% include head.html %>
 <script>
     var error = "<%=error%>";
     $(document).ready(function() {
         if (error != '') {
            $.jGrowl(error, {
                life: 3000
            });
         }
     });
 </script>
 <style>
     .modal-fog {
        visibility: visible;
        opacity:0.3;
     }
 </style>
    <div class="moda" id="login">
        <div class="modal-head">
            <h1>登录</h1>
        </div>
        <form id="login-form" action="/login" method="post">
            <div class="border-wrap">
                <input type="text" placeholder="请输入用户名" required name="name">
            </div>
            <div class="border-wrap">
                <input type="password" placeholder="请输入密码" required name="password">
            </div>
            <input class="login-submit" type="submit" style="width: 50%;" value="登录">
            <div id="signup" style="position:relative;top: -62px;color: black;left: 249px;">
                <a href="/signup" style="color: black;">注册</a>
            </div>
        </form>
    </div>
</body>
</html>